package com.profgj.profgj.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * (Unit)实体类
 *
 * @author makejava
 * @since 2021-07-11 19:30:09
 */
@ApiModel(value = "计量单位",description = "计量单位")
public class Unit implements Serializable {
    private static final long serialVersionUID = 521154901228746584L;
    /**
     * 计量单位id
     */
    @ApiModelProperty(value = "计量单位id")
    private Integer id;
    /**
     * 单位名称
     */
    @ApiModelProperty(value = "单位名称")
    private String unitName;
    /**
     * 单位值
     */
    @ApiModelProperty(value = "单位值")
    private String unitValue;
    /**
     * 逻辑删除字段
     */
    @ApiModelProperty(value = "逻辑删除字段")
    @TableLogic
    private Integer deleted;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getUnitValue() {
        return unitValue;
    }

    public void setUnitValue(String unitValue) {
        this.unitValue = unitValue;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

}
